Skip to content

NET Core 2.0 version#38

Open
irium wants to merge 6 commits intomausch:masterfrom
irium:netcore-2.0
Open

NET Core 2.0 version#38
irium wants to merge 6 commits intomausch:masterfrom
irium:netcore-2.0

Conversation

@irium
Copy link
Copy Markdown

@irium irium commented Jan 27, 2018

I've ported FsSql to .NET Core 2.0.

With some changes:

  • tests are working only on Windows, because I don't know what is actual SQLite NuGet for Linux now.
  • tests are ported to Expecto, as Fuchu is no longer maintained and Expecto superceeded it.

Comment thread FsSql/AsyncExtensions.fs Outdated
Async.FromBeginEnd(abegin, aend, acancel)
member cmd.AsyncExecReader(?cancellationToken:CancellationToken) : SqlDataReader Async =
match cancellationToken with
| Some ct -> cmd.ExecuteReaderAsync(ct) |> Async.AwaitTask
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is bugged since async needs to be re-executable (cold) and tasks are hot. See if you can defer the creation of the task into an async workflow or something of the like.

Copy link
Copy Markdown
Author

@irium irium Jan 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, got it! Fixed now.

@haf
Copy link
Copy Markdown
Contributor

haf commented Jan 29, 2018

Now it could be a long wait; you should consider publishing a package meanwhile, as @mausch isn't very active any more.

@haf
Copy link
Copy Markdown
Contributor

haf commented Feb 5, 2018

@irium Would you consider forking and maintaining at another nuget id, please?

@irium
Copy link
Copy Markdown
Author

irium commented Feb 23, 2018

@haf I'm not sure I have time to fully maintain public NuGet package.
And I didn't done it before. Also I have no Linux machine, so it would be Windows only (or expect help with Linux related code from some of you ;)

I could try. What name we'll choose for new NuGet? FsSql.Core maybe?

@haf
Copy link
Copy Markdown
Contributor

haf commented Feb 23, 2018

@irium There's not much traffic to this nuget, so you'd probably not have to spend too much time on it. I'm happy to hear you're considering it.

Sure, FsSql.Core could work.

@irium
Copy link
Copy Markdown
Author

irium commented Feb 23, 2018

Ok :) Now I'm learning how to configure all this nuget publishing :)

@haf
Copy link
Copy Markdown
Contributor

haf commented Feb 23, 2018

https://github.com/haf/expecto is a good example

@irium
Copy link
Copy Markdown
Author

irium commented Feb 23, 2018

@haf Here it is: https://www.nuget.org/packages/FsSql.Core/
:)

I think it makes sense to move further PRs and issues to https://github.com/irium/FsSql

@czifro
Copy link
Copy Markdown

czifro commented May 7, 2018

@irium I noticed there is no way to post issues on your fork. Not that I have an issue to submit, but if I did in the future, how would I be able to do that?

@haf
Copy link
Copy Markdown
Contributor

haf commented May 7, 2018

@irium needs to go to settings, enable issues.

@irium
Copy link
Copy Markdown
Author

irium commented May 7, 2018

@czifro @haf Oh, sorry :) Now enabled :)

@czifro
Copy link
Copy Markdown

czifro commented May 7, 2018

@irium Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants